home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 1 / Precision Software Applications Silver Collection Volume One (PSM) (1993).iso / tutor / dosguide.exe / HELPDOS.ZIP / RECOVER.HLP < prev    next >
Text File  |  1987-10-08  |  3KB  |  73 lines

  1. ----------------------  RECOVER - External DOS Command  ------------------------
  2.  
  3. RECOVER recovers information from a disk that has defective sectors.  The file
  4.    that contains the bad sectors can be recovered minus the information
  5.    contained in the bad sectors.  All files on the disk can be recovered if the
  6.    directory is damaged.
  7.  
  8. FORMAT:  To recover a single file:   RECOVER [d:][path]filename[.ext]
  9.  
  10.          To recover all files:       RECOVER d:
  11.  
  12. REMARKS:
  13.  
  14.    To Recover a Single File:
  15.  
  16.       d:       - the drive letter of the disk where recovery is to be done.  If
  17.                  you are recovering selected files, and you omit d:, the default
  18.                  drive is assumed.
  19.       path     - the directory path to the file to be recovered.  If omitted,
  20.                  the current directory is assumed.
  21.       filename - the filename of the file to be recovered.
  22.       .ext     - the filename extension of the file to be recovered.
  23.  
  24.       RECOVER recovers just one file at a time.  If Global characters (* and ?)
  25.       are used for the filename or extension, only the first file matching the
  26.       specification will be recovered.
  27.  
  28.       After recovering a file, it should be edited to check what data is missing
  29.       and to remove unwanted data from the end of the file.
  30.  
  31.       The size of the recovered file is a multiple of DOS allocation units and
  32.       is normally larger than the original file.
  33.  
  34.       RECOVER does not restore files that have been erased.
  35.  
  36.       DOS stores files in segments of disk storage called sectors.  A sector is
  37.       512 bytes.  If you get error messages from DOS when trying to use a file,
  38.       it is possible that one or more of the sectors containing the file's
  39.       information has become unreadable.  RECOVER checks each sector of the
  40.       file, retains the information from the good sectors, and eliminates the
  41.       data from the bad sectors.  The file's name is not changed.  The bad
  42.       sectors are marked as not usable to prevent future use of the sectors.
  43.  
  44.  
  45.    To Recover All Files:
  46.  
  47.       WARNING:  This use of RECOVER should be done ONLY if the directory of the
  48.       disk has been damaged.
  49.  
  50.       d: - the drive letter of the disk to be recovered.  It must be specified.
  51.  
  52.       This form of RECOVER recovers ALL files to the form FILEnnnn.REC (where
  53.       nnnn is a sequential number starting with 0001).  Each file of this form
  54.       points to one of the recovered files.  The original filenames, even if
  55.       they were in a valid part of the directory, are replaced with the
  56.       FILEnnnn.REC files.
  57.  
  58.  
  59.    In DOS Version 3, you may preface RECOVER with the drive letter and directory
  60.    path, [d:][path], where the command file can be found.
  61.  
  62.  
  63. EXAMPLE:
  64.  
  65. Recover the file MYFILE that has developed defective sectors.  MYFILE is on the
  66. default drive in the current directory:
  67.  
  68.           RECOVER MYFILE
  69.  
  70.    After recovery, MYFILE will contain data from the valid sectors only.  It
  71.    should then be edited to review what data was lost and to remove any unwanted
  72.    data.
  73.